﻿package Message.Public
{
    import Framework.MQ.*;
    import Framework.Serialize.*;

    public class SBattleStart extends IMessageBase
    {
        public var waitTime:int;
        public var continueTime:int;
        public const _type:int = 182;
        public static var _regist:SBattleStart = new SBattleStart(true);

        public function SBattleStart(param1:Boolean = false)
        {
            if (param1)
            {
                MessageManager.instance().regist(this);
            }
            return;
        }// end function

        override public function getType() : int
        {
            return this._type;
        }// end function

        override public function clone() : IMessageBase
        {
            return new SBattleStart();
        }// end function

        override public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.waitTime);
            param1.writeInt(this.continueTime);
            return;
        }// end function

        override public function __read(param1:SerializeStream) : void
        {
            this.waitTime = param1.readInt();
            this.continueTime = param1.readInt();
            return;
        }// end function

    }
}
